package db;

import java.util.Date;


/**
 * AbstractTomat entity provides the base persistence definition of the Tomat entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractTomat  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Integer bormatId;
     private Integer toreqId;
     private Integer reqNum;
     private Integer maNum;
     private Integer okNum;
     private Date date;
     private Integer state;
     private Integer outpurmatId;
     private Bormat bormat;
     private Outpurmat outpurmat;


    // Constructors

    /** default constructor */
    public AbstractTomat() {
    }

    
    /** full constructor */
    public AbstractTomat(Integer bormatId, Integer toreqId, Integer reqNum, Integer maNum, Integer okNum, Date date, Integer state, Integer outpurmatId) {
        this.bormatId = bormatId;
        this.toreqId = toreqId;
        this.reqNum = reqNum;
        this.maNum = maNum;
        this.okNum = okNum;
        this.date = date;
        this.state = state;
        this.outpurmatId = outpurmatId;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBormatId() {
        return this.bormatId;
    }
    
    public void setBormatId(Integer bormatId) {
        this.bormatId = bormatId;
    }

    public Integer getToreqId() {
        return this.toreqId;
    }
    
    public void setToreqId(Integer toreqId) {
        this.toreqId = toreqId;
    }

    public Integer getReqNum() {
        return this.reqNum;
    }
    
    public void setReqNum(Integer reqNum) {
        this.reqNum = reqNum;
    }

    public Integer getMaNum() {
        return this.maNum;
    }
    
    public void setMaNum(Integer maNum) {
        this.maNum = maNum;
    }

    public Integer getOkNum() {
        return this.okNum;
    }
    
    public void setOkNum(Integer okNum) {
        this.okNum = okNum;
    }

    public Date getDate() {
        return this.date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getState() {
        return this.state;
    }
    
    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getOutpurmatId() {
        return this.outpurmatId;
    }
    
    public void setOutpurmatId(Integer outpurmatId) {
        this.outpurmatId = outpurmatId;
    }


	public Bormat getBormat() {
		return bormat;
	}


	public void setBormat(Bormat bormat) {
		this.bormat = bormat;
	}


	public Outpurmat getOutpurmat() {
		return outpurmat;
	}


	public void setOutpurmat(Outpurmat outpurmat) {
		this.outpurmat = outpurmat;
	}


	








}